package com.cdu.service;

import com.cdu.commons.PageR;
import com.cdu.pojo.dto.CartPageQueryDTO;
import com.cdu.pojo.dto.TokenUser;

public interface CartService {
    void addCart(Integer productId,Integer pricer, TokenUser tokenUser);

    //分页查询购物车
    PageR show(CartPageQueryDTO cartPageQueryDTO,TokenUser tokenUser);

    //删除购物车
    void subCart(Integer productId, TokenUser tokenUser);
}
